#ifndef _SHELL_MYHIREBEAN_BEAN_H_
#define _SHELL_MYHIREBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class MyHireBean : public Bean
{
	public:
	MyHireBean();
	~MyHireBean();
	void reset();
	MyHireBean* clone();
	//玩家id
	int64 toPlayer;
	//名称
	string name;
	//战力
	int32 force;
	//角色等级
	int32 playerLv;
	//角色职业
	int8 playerType;
	//是否上阵0否1是
	int8 isBattle;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
